﻿namespace YunZuan.Models
{
    public class PrimeGolds
    {
        public int ID { get; set; }
        public string Supplier { get; set; }        //`Supplier` varchar(45) NOT NULL DEFAULT '',
        public string SecondSN { get; set; }//二级供应商
        public int OnShelves { get; set; }          //`OnShelves` tinyint(1) DEFAULT '0' COMMENT '是否上架',
        public int Tag { get; set; } //tinyint(1) NOT NULL DEFAULT '0' COMMENT '标签',
        public string OriginSN { get; set; }        //`OriginSN` varchar(20) NOT NULL DEFAULT '', 原货号
        public string StyleNo { get; set; }         //varchar(20) NOT NULL DEFAULT '', 款号
        public string Images { get; set; }          //`Images` varchar(300) NOT NULL DEFAULT '',  Images：图片文件名，“|”分隔，如：aaa.jpg|bbb.jpg|ccc.jpg
        public string Videos { get; set; } //varchar(300) NOT NULL DEFAULT '', 视频
        //public int? Status { get; set; } //` tinyint(2) NOT NULL DEFAULT '0', 状态
        public int Type { get; set; }               //`Type` int(11) NOT NULL DEFAULT '0' COMMENT '品类',
        public int Style { get; set; }           //`Category` tinyint(2) NOT NULL DEFAULT '0' COMMENT '工艺造型',
        public string Material { get; set; }        //`Material` varchar(20) NOT NULL DEFAULT '' COMMENT '材质', 
        public string Series { get; set; }          //`Series` varchar(20) NOT NULL DEFAULT '' COMMENT '系类名称',
        public decimal Weight { get; set; }     //`AboutWeight` varchar(20) NOT NULL DEFAULT '' COMMENT '重量（克）',
        public int StockNumber { get; set; }         //`Weight` decimal(12,3) NOT NULL DEFAULT '0.000' COMMENT '数量',
        public decimal TotalWeight { get; set; }         //`Weight` decimal(12,3) NOT NULL DEFAULT '0.000' COMMENT '总重', 
        public decimal LaborFee { get; set; }      //`UnitPrice` decimal(12,3) NOT NULL DEFAULT '0.000' COMMENT '单价工费', 
        public decimal GoldPrice { get; set; }          //`Price` decimal(12,3) NOT NULL DEFAULT '0.000' COMMENT '金价', # 不支持新增和修改，新增、修改请忽略此字段，如需修改使用素金的金价修改接口',
        public string CertType { get; set; }        //`CertType` varchar(10) NOT NULL DEFAULT '' COMMENT '成品证书类型',
        public string Country { get; set; }         //`Country` varchar(20) NOT NULL DEFAULT '' COMMENT '所在地国家',
        public string State { get; set; }           //`State` varchar(20) NOT NULL DEFAULT '' COMMENT '所在地省份',
        public int IsStock { get; set; }            //`IsStock` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否现货',
        public string Remark { get; set; }          //`Remark` varchar(45) NOT NULL DEFAULT '' COMMENT '备注',
        public string Details { get; set; }         //`Details` varchar(45) NOT NULL DEFAULT '' COMMENT '详情',
        public decimal PurchaseLaborCost { get; set; }         //`BuyFee` decimal(12,3) NOT NULL DEFAULT '0.000' COMMENT '买入工费',
        public decimal PurchaseGoldPrice { get; set; }       //`BuyPrice` decimal(12,3) NOT NULL DEFAULT '0.000' COMMENT '买入金价',
        public decimal PurchaseCostPrice { get; set; }      //`CostPrice` decimal(12,3) NOT NULL DEFAULT '0.000' COMMENT '成本价',     

        //20180807 新增字段
        public string PurchaseTime { get; set; } //采购日期
        public string PurchaseSupplier { get; set; }//采购供应商
        public decimal? PurchaseUSD { get; set; }   //采购价$
        public decimal? PurchaseRMB { get; set; }  //采购价￥
        public string PurchaseAgent { get; set; }   //采购人
        public int ReceiptStatus { get; set; } //付款状态：0未付 1，已付
        public string ShipTime { get; set; }   //发货时间
        public string ArrivalTime { get; set; }//现货到货日期
        public decimal? PurchaseExchange { get; set; }   //采购汇率


        public decimal Price { get; set; }//回库的时候要去掉

    }
}
